

//创建Symbol
let s = Symbol();

//查看s的数据类型;
console.log(s,typeof s);
//Symbol() symbol

let s1 = Symbol("访问");
let s2 = Symbol("访问");

console.log(s1);
console.log(s2);